<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>首页</title>
<link rel="stylesheet" type="text/css"
	href="bootstrap/css/bootstrap.css">
</head>
<body>
	<div class="container">
		<div class="page-header">
			<ul>
				<s:if test="#session.log_id!=null">
				<div>您好:<s:property value="#session.log_username"/></div>
				<li><a href="weibo.do">我的微博</a></li>
				<li><a href="do_logout.do">退出</a></li>
				</s:if>
				<s:else>
				<li><a href="login.do">登录</a></li>
				<li><a href="register.do">注册</a></li>
				</s:else>
				<li><a href="cdrindex.do">Cdr Demo</a></li>
				<li><a href="cdrdaily.do">Cdr Daily</a></li>
			</ul>
		</div>
	</div>
</body>
</html>